<?php $this->load->view('config/header');?>
<h1>Pendaftaran <small>detail pendaftar</small></h1>
<ol class="breadcrumb">
  <li><a href="<?php echo site_url()?>home"><i class="icon-dashboard"></i> Dashboard</a></li>
  <li><a href="<?php echo site_url()?>formulir"><i class="icon-list-alt"></i> Pendaftaran</a></li>
  <li class="active"><i class="icon-file-alt"></i> Detail pendaftar</li>
</ol>

<div class="container-fluid">
	<div class="row">
		<div class="col-md-8">
			<form class="form-horizontal" role="form" method="post" action="<?php echo site_url() ?>formulir/<?php echo $action; ?>" style=" width: 1000px; ">
				<input type="hidden" class="form-control" name="id_pendaftar" value="<?php echo @$detail[0]['id_pendaftar']?>">
				<div class="form-group">
					<label for="nama_pendaftar" class="col-lg-2 control-label">Nama</label>
					<div class="col-lg-6">
						<input type="text" class="form-control" name="nama_pendaftar" value="<?php echo @$detail[0]['nama_pendaftar']?>" readonly="readonly">
					</div>
				</div>	
				<div class="form-group">
					<label for="no_identitas" class="col-lg-2 control-label">No. KTP</label>
					<div class="col-lg-4">
						<input type="text" class="form-control" name="no_identitas" value="<?php echo @$detail[0]['no_identitas']?>" readonly="readonly">
					</div>
				</div>
				<div class="form-group">
					<label for="alamat_pendaftar" class="col-lg-2 control-label">Alamat</label>
					<div class="col-lg-6">
						<textarea class="form-control" name="alamat_pendaftar" readonly="readonly" style="resize:none"><?php echo @$detail[0]['alamat_pendaftar']?></textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="telephone" class="col-lg-2 control-label">Telephon</label>
					<div class="col-lg-3">
						<div class="input-group">
							<span class="input-group-addon">1.</span>
							<input type="text" class="form-control" placeholder="Telephon 1" maxlength="15" name="telp_1_pendaftar" value="<?php echo @$detail[0]['telp_1_pendaftar']?>" readonly="readonly">
						</div>
					</div>
					<div class="col-lg-3">
						<div class="input-group">
							<span class="input-group-addon">2.</span>
							<input type="text" class="form-control" placeholder="Telephon 2" maxlength="15" name="telp_2_pendaftar" value="<?php echo @$detail[0]['telp_2_pendaftar']?>" readonly="readonly">
						</div>
					</div>
				</div>
				<div class="form-group">
					<label for="fax_pendaftar" class="col-lg-2 control-label">Fax</label>
					<div class="col-lg-3">
						<input type="text" class="form-control" maxlength="15" name="fax_pendaftar" value="<?php echo @$detail[0]['fax_pendaftar']?>" readonly="readonly">
					</div>
				</div>
				<div class="form-group">
					<label for="email_pendaftar" class="col-lg-2 control-label">Email</label>
					<div class="col-lg-4">
						<input type="email" class="form-control" name="email_pendaftar" value="<?php echo @$detail[0]['email_pendaftar']?>" readonly="readonly">
					</div>
				</div>
				<div class="form-group">
					<label for="alamat_lokasi" class="col-lg-2 control-label">Alamat</label>
					<div class="col-lg-6">
						<textarea class="form-control" name="alamat_lokasi" readonly="readonly" style="resize:none"><?php echo @$detail[0]['alamat_lokasi']?></textarea>
					</div>
				</div>
				<div class="form-group">
					<label for="telp_lokasi" class="col-lg-2 control-label">Telp Lokasi</label>
					<div class="col-lg-3">
						<input type="text" class="form-control" maxlength="15" name="telp_lokasi" value="<?php echo @$detail[0]['telp_lokasi']?>" readonly="readonly">
					</div>
				</div>
				<div class="form-group">
					<label for="lokasi" class="col-lg-2 control-label">Ukuran Tempat Usaha</label>
					<div class="col-lg-2">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="Lebar" name="lebar_lokasi" value="<?php echo @$detail[0]['lebar_lokasi']?>" readonly="readonly">
							<span class="input-group-addon">meter</span>
						</div>
					</div>
					<div class="col-lg-2">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="Panjang" name="panjang_lokasi" value="<?php echo @$detail[0]['panjang_lokasi']?>" readonly="readonly">
							<span class="input-group-addon">meter</span>
						</div>
					</div>
				</div>
				<div class="form-group">
					<label for="estimasi_anggaran" class="col-lg-2 control-label">Estimasi Anggaran</label>
					<div class="col-lg-4">
						<div class="input-group">
							<span class="input-group-addon">Rp.</span>
							<input type="text" class="form-control" name="estimasi_anggaran" value="<?php echo @$detail[0]['estimasi_anggaran']?>" readonly="readonly">
						</div>
					</div>
				</div>
				<div class="form-group">
					<div class="col-lg-offset-2 col-lg-10">
						<a href="<?php echo site_url()?>formulir" class="btn btn-primary">Kembali</a>
					</div>
				</div>
			</form>
		</div>
		<div class="col-sm-3">
			<div style="text-align:center">
				<?php if(@$detail[0]['upload_pas_foto'] == ""):?>
					<a class="thumbnail">
					  <img src="<?php echo base_url(); ?>lib/backend/img/no_image.jpg" alt="no images">
					</a>
				<?php else:?>
					<a class="thumbnail">
					  <img src="<?php echo base_url(); ?>upload/formulir/<?php echo @$detail[0]['upload_pas_foto'];?>" alt="no images">
					</a>
				<?php endif;?>
				<br/>
				<a href="<?php echo site_url()?>formulir/downloadDenah/<?php echo @$detail[0]['upload_lokasi'];?>">Download Gambar Lokasi</a>
			</div>
		</div>
	</div>
</div>



<?php $this->load->view('config/footer');?>